<template>
    <div class="middle">
       <div id="RoomStateForecastCalendar">
       
            <div class="SortingItems" >
                 <router-link v-for="route in $router.options.routes[1].children" :to="{ path: route.path }">
                 <!-- <div>房态预测日历</div>
                <div>销售预测概况</div>
                <div>决策中心</div>
                <div>销售预留详情</div> -->
                <div>
                  {{ route.name }}
                </div>
                 </router-link>
            </div>
       
            <div class="rests">

            </div>
       </div>
     <router-view></router-view>
    </div>
</template>
<script></script>
<style lang="less">
.middle{
  height: 92%;
  // background: red;
  // padding: 10px;
  #RoomStateForecastCalendar {
  height: 40px;
  width: 100%;
  background: #fff;
  // display: flex;
  // justify-content: space-between;
  .SortingItems {
    width: 30%;
    display: flex;
    justify-content: space-between;
    line-height: 40px;
    text-align: center;
    a {
      display: inline-block;
      width: 100%;
      > div {
        width: 100%;
      }
    }
  }
  .rests {
    background: #fff;
    width: 70%;
  }
}
}
</style>